Resource URL: /platform/<<version=4>>/auth/ldap-templates/<ID>

    Overview: This resource returns the specified LDAP provider template.
              Templates can be used at /4/auth/providers/ldap to more easily
              configure your LDAP providers.

     Methods: GET

********************************************************************************

Method GET: Retrieve the LDAP provider template.

       URL: GET /platform/<<version=4>>/auth/ldap-templates/<ID>

Query arguments:

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "ldap_field_template": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "description": "Configurable fields of LDAP Providers.", 
            "properties": {
              "shadow_inactive_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the number of days of inactivity that is allowed for the user.", 
                "maxLength": 255
              }, 
              "shadow_flag_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the section of the shadow map that is used to store the flag value.", 
                "maxLength": 255
              }, 
              "cn_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Specifies canonical name.", 
                "maxLength": 255
              }, 
              "shadow_expire_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the absolute date to expire the account.", 
                "maxLength": 255
              }, 
              "netgroup_triple_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the LDAP Netgroup Triple attribute.", 
                "maxLength": 255
              }, 
              "group_filter": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets LDAP filter for group objects.", 
                "maxLength": 255
              }, 
              "unique_group_members_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the LDAP Unique Group Members attribute.", 
                "maxLength": 255
              }, 
              "id": {
                "type": [
                  {
                    "enum": [
                      "default", 
                      "ldapsam", 
                      "rfc2307", 
                      "ad-idmu"
                    ], 
                    "type": "string", 
                    "description": "Specifies the ID of the LDAP provider field template."
                  }, 
                  {
                    "type": "null"
                  }
                ]
              }, 
              "gid_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the LDAP GID attribute.", 
                "maxLength": 255
              }, 
              "uid_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the LDAP UID Number attribute.", 
                "maxLength": 255
              }, 
              "shadow_max_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the maximum number of days a password can be valid.", 
                "maxLength": 255
              }, 
              "netgroup_filter": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets LDAP filter for netgroup objects.", 
                "maxLength": 255
              }, 
              "email_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the LDAP Email attribute.", 
                "maxLength": 255
              }, 
              "gecos_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the LDAP GECOS attribute.", 
                "maxLength": 255
              }, 
              "group_members_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the LDAP Group Members attribute.", 
                "maxLength": 255
              }, 
              "crypt_password_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets hashed password value.", 
                "maxLength": 255
              }, 
              "netgroup_members_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the LDAP Netgroup Members attribute.", 
                "maxLength": 255
              }, 
              "homedir_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the LDAP Homedir attribute.", 
                "maxLength": 255
              }, 
              "shell_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the LDAP Shell attribute.", 
                "maxLength": 255
              }, 
              "shadow_last_change_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the last change of the shadow information.", 
                "maxLength": 255
              }, 
              "shadow_user_filter": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets LDAP filter for shadow user objects.", 
                "maxLength": 255
              }, 
              "nt_password_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the LDAP NT Password attribute.", 
                "maxLength": 255
              }, 
              "shadow_min_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the minimum number of days between shadow changes.", 
                "maxLength": 255
              }, 
              "name_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the LDAP UID attribute, which is used as the login name.", 
                "maxLength": 255
              }, 
              "shadow_warning_attribute": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets the number of days before the password expires to warn the user.", 
                "maxLength": 255
              }, 
              "user_filter": {
                "minLength": 0, 
                "type": "string", 
                "description": "Sets LDAP filter for user objects.", 
                "maxLength": 255
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }
      }
    }
  ]
}
